package lovo01.lesson04;

/**
 * 猎人类
 */
public class Hunter extends Role implements Hunt,Attack{

    public Hunter() {
    }

    public Hunter(String name, int level) {
        super(name, level);
    }

    @Override
    public void attack() {
        System.out.println("会攻击");
    }

    @Override
    public void hunt() {
        System.out.println("会打猎");
    }

    @Override
    void selfIntroduce() {
        System.out.println("我是" + getName() + "，目前等级是："
                + getLevel() + "级" + "，是一位猎人");
    }
}
